def fun(a, b):
    return a + b


print(fun(10, 20))

lambda a, b: a + b

l1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]


def fun01(items):
    list = []
    for item in items:
        if item % 2 == 0:
            list.append(item)
    return list


l2 = fun01(l1)
print(l2)
l3 = [item for item in filter(lambda num: num % 2 == 0, l1)]
print(l3)
